import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

axios.defaults.baseURL = 'http://127.0.0.1:3000'
//全局配置 配置路径挂载 挂载到vue的原型中
Vue.prototype.imgUrl = 'http://127.0.0.1:3000/'
// 完整引入 Element
Vue.use(ElementUI)
import axios from 'axios';
import VueAxios from 'vue-axios';
Vue.use(VueAxios, axios)

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
